<template>
	<view>
		<template>
			<u-tabs :list="list2" @click="list"></u-tabs>
		</template>
	</view>
</template>

<script>
export default {
	data() {
		return {
			list2: [
				{
					name: '待付款'
				},
				{
					name: '待发货'
				},
				{
					name: '待收货'
				},
				{
					name: '待评价',
					badge: {
						value: 5
					}
				}
			],
		
		};
	},
	methods:{
		list(item){
			console.log('item')
		}
	}
};
</script>

<style lang="scss"></style>
